package com.qiyu.mall.user.provider.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_account")
public class AccountPO {

  @TableId(type = IdType.AUTO)
  private long id;

  private Integer accountId;

  private String nickname;

  private Integer accountType;

  private String trueName;

  private long sex;

  private long grade;

  private double amount;

  private String tel;

  private Date freezeStartDate;

  private Date freezeEndDate;

  private Date lastLoginTime;

  private String lastLoginIp;

  private Date registerDate;

  private long addressId;

  private String openId;

  private long score;

  private Integer rank;

  /**
   * wx昵称
   */
  private String wxNickName;

  /**
   * wx头像
   */
  private String wxAvatarUrl;
}
